package cn.iocoder.yudao.module.social.controller.admin.interaction.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 互动 Response VO")
@Data
public class InteractionRespVO {

    @Schema(description = "互动编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "内容编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long contentId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long userId;

    @Schema(description = "互动类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "comment")
    private String type;

    @Schema(description = "互动内容", example = "这是一条评论")
    private String body;

    @Schema(description = "父互动编号", example = "1")
    private Long parentId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

}
